package cn.ziyoufa.smart.smartschool.util;

import android.util.Log;

/**
 * 创建人 ： 赵泽东
 * 创建时间：2018/9/3
 *
 * @param
 * @param
 */
public class Logger {
    public static int DEBUG = 4;
    public static int ERROR;
    public static int INFO;
    public static int LOG_LEVEL = 6;
    public static int VERBOS = 5;
    public static int WARN;

    static
    {
        ERROR = 1;
        WARN = 2;
        INFO = 3;
    }

    public static void d(String paramString1, String paramString2)
    {
        if (LOG_LEVEL > DEBUG) {
            Log.d(paramString1, paramString2);
        }
    }

    public static void e(String paramString1, String paramString2)
    {
        if (LOG_LEVEL > ERROR) {
            Log.e(paramString1, paramString2);
        }
    }

    public static void i(String paramString1, String paramString2)
    {
        if (LOG_LEVEL > INFO) {
            Log.i(paramString1, paramString2);
        }
    }

    public static void v(String paramString1, String paramString2)
    {
        if (LOG_LEVEL > VERBOS) {
            Log.v(paramString1, paramString2);
        }
    }

    public static void w(String paramString1, String paramString2)
    {
        if (LOG_LEVEL > WARN) {
            Log.w(paramString1, paramString2);
        }
    }
}
